import java.util.Scanner;
public class Book37_6{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.printf("请输入你的身高和体重：");
		double w,h,bmi;
		h = input.nextDouble();
		w = input.nextDouble();
		bmi = w/(h*h);
		System.out.println("你的BMI值为：" + bmi);
	}
}